package com.yyb.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper=false)
@Schema(title = "SysNoticeUpdateDTO",description = "添加通知公告的入参模型")
public class SysNoticeUpdateDTO extends SysNoticeAddDTO {
    /**
     * 公告ID
     */
    @Schema(title = "公告ID")
    @NotNull(message = "公告ID不能为空")
    private Long noticeId;
}
